﻿
using Engine.Graphics;
using Game;
using Neorxna.Graphic;

namespace NekoMeko.Common
{
	public class NekoResSkin : NekoMekoResource
	{
		public string[] ModelKeys
		{
			get; set;
		} = [];
		public string Description
		{
			get; set;
		}
		public ObjectRenderMode RenderMode
		{
			get; set;
		}
		public override object GetRes(string resPath, bool throwOnNotFound = false)
		{
			if (NekoMekoDataManager.TexturesInResPack.TryGetValue(resPath, out var res))
				return res;
			return ContentManager.Get<Texture2D>(resPath, throwOnNotFound: throwOnNotFound);
		}

	}
}
